#include<iostream>
#include<cmath>

using namespace std;

int main()
{
    const double pi= 3.14152942;
    const double k= pi;
    
    double x=0,y=0,coeff =1;
	long i;
     
    while(x<4*pi)
    {
    	
        for(i=0,y=0,coeff=1; i<10000; i++,coeff=coeff+2)
        {
			y= y + sin(coeff*x)/coeff;
		}
		
		y= 4*k*y/pi;
		
		cout <<x <<"  " <<y <<"\n";
		
		x=x+ 0.01;
	}
	
	return 0;
}
        
       
